package com.system.data.dao;

import com.system.data.model.CommentSentiment;
import com.system.data.model.JingdongAttribute830;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CommentSentimentDao {
    @Select("SELECT DISTINCT * FROM `comment_sentiment` WHERE commentText=#{text};")
    List<CommentSentiment> findCommentSentimentByText(@Param("text") String text);
}
